/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package chatsystem;

import java.net.InetAddress;


/**
 *
 * @author Diane
 */
public class User { 
    
    private String name;
    private InetAddress address;
   

    public User(String name, InetAddress adress) {
        this.name = name;
        address = adress;
 
    }

    public InetAddress getAddress() {
        return address;
    }

    public void setAdress(InetAddress adress) {
        this.address = adress;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
